package com.dlc.beijingrfid.adapter;

import com.dlc.commonlibrary.adapter.BaseRecyclerAdapter;
import com.dlc.beijingrfid.R;
import com.dlc.beijingrfid.net.bean.BucaoCategoryBean;

/**
 * Created by John on 2017/7/24.
 */

public class BucaoCategoryAdapter extends BaseRecyclerAdapter<BucaoCategoryBean.DataBean> {
    @Override
    public int getItemLayoutId(int viewType) {
        return R.layout.item_bucao_category;
    }

    @Override
    public void onBindViewHolder(CommonHolder holder, int position) {
        BucaoCategoryBean.DataBean item = getItem(position);
        holder.setText(R.id.tv_text, item.title);
    }
}
